package com.aviccxzx.smarthome.entity;

import java.util.List;

/**
 * Created by joey on 2017/4/24.
 */

public class DoorMsg {

    /**
     * code : 1
     * message : OPERATE RETRIEVE SUCCESS
     * data : [{"device_mac":"00124b000d4170a0","identification":"WaterLine","value":"00","name_desplay":"报警状态","state_desplay":"报警","ctime":"2017-07-16 10:31:36"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * device_mac : 00124b000d4170a0
         * identification : WaterLine
         * value : 00
         * name_desplay : 报警状态
         * state_desplay : 报警
         * ctime : 2017-07-16 10:31:36
         */

        private String device_mac;
        private String identification;
        private String value;
        private String name_desplay;
        private String state_desplay;
        private String ctime;

        public String getDevice_mac() {
            return device_mac;
        }

        public void setDevice_mac(String device_mac) {
            this.device_mac = device_mac;
        }

        public String getIdentification() {
            return identification;
        }

        public void setIdentification(String identification) {
            this.identification = identification;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getName_desplay() {
            return name_desplay;
        }

        public void setName_desplay(String name_desplay) {
            this.name_desplay = name_desplay;
        }

        public String getState_desplay() {
            return state_desplay;
        }

        public void setState_desplay(String state_desplay) {
            this.state_desplay = state_desplay;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }
    }
}
